
## pip3 install pdf2docx PDF转换成Word

from pdf2docx import Converter

pdf_file = 'C:\\Users\\KiroLox\\Desktop\\PDF\\Java多线程和并发知识点详细总结.pdf'
docx_file = 'C:\\Users\\KiroLox\\Desktop\\sample.docx'

# convert pdf to docx
cv = Converter(pdf_file)
cv.convert(docx_file) # 默认参数start=0, end=None
cv.close()
